<template>
  这是一个组件，用于测试在文档中加载组件且运行。<br>
  <br>
  属性：{{msg}}<br><br>
  <el-input v-model="test" placeholder="测试"></el-input><br><br>
  <el-button type="" @click="myclick">测试</el-button>
</template>

<script>
  import { ref } from 'vue'
  import { ElInput, ElButton } from 'element-plus'

</script>

<script setup>

  const props = defineProps({
    msg: String
  })

  const test = ref('')

  const myclick = () => {
    test.value = new Date().valueOf()
  }

</script>